package com.jianglin.state2.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jianglin.state2.dao.entity.Project;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProjectMapper extends BaseMapper<Project> {
    /**
     *
     * @param client
     * @return
     *
     */
    @Select("SELECT projectId,projectForm,projectName,beizu,projectComplete FROM project where clientId =#{clientId}")
    List<Project> selectByClient(@Param("clientId") Integer client);
}
